package com.tsinjie.metadata.java.model;

/**
 * Created by LiuXunming on 2015-11-7.
 * 字段可选择（当JavaField HtmlShowType为select、radio、checkbox）
 */
public class JavaFieldValue {
    /**
     * 值
     */
    private String value;
    /**
     * 显示文本
     */
    private String showText;

    public JavaFieldValue() {
    }

    public JavaFieldValue(String value, String showText) {
        this.value = value;
        this.showText = showText;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getShowText() {
        return showText;
    }

    public void setShowText(String showText) {
        this.showText = showText;
    }

    @Override
    public String toString() {
        return "JavaFieldValue{" +
                "value='" + value + '\'' +
                ", showText='" + showText + '\'' +
                '}';
    }
}
